//
//  UnityBackgroundNotificationWrapper.m
//  OCTest
//
//  Created by lichenxi on 2022/1/20.
//
#if TARGET_OS_IOS
#import <Foundation/Foundation.h>
#import "BackgoundNotificaitonManager.h"


void _RequestAuthorization()
{
    [BackgoundNotificaitonManager RequestAuthorization];
}

void _SendBackgroundNotification(char* uid,char* title,char*body,int channel)
{
    [[BackgoundNotificaitonManager sharedInstance] SendNotification:uid :title :body:1];
}

void _CancelBackgroundNotification(char* uid)
{
    [[BackgoundNotificaitonManager sharedInstance] CancelNotification:uid];
}

#endif
